package com.utooo.pojo.domain.purchase.order;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.utooo.pojo.domain.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("aigis_pdfkglfb_2025042318252475")
public class RefundApplicationDO extends BaseDO {

    /**
     * 退款申请单号
     */
    @TableField("comInputField102")
    private String refundApplicationNo;

    /**
     * 付款申请单号
     */
    @TableField("popupTableSelectField169")
    private String paymentApplicationNo;

    /**
     * 公司
     */
    @TableField("selectField348")
    private String company;

    /**
     * 供应商名称
     */
    @TableField("relationFormField349")
    private String supplierName;

    /**
     * 供应商编码
     */
    @TableField("comInputField107")
    private String supplierCode;

    /**
     * 账户名称
     */
    @TableField("comInputField109")
    private String accountName;

    /**
     * 退款方式
     */
    @TableField("selectField111")
    private String refundMethod;

    /**
     * 退款类型
     */
    @TableField("selectField112")
    private String refundType;

    /**
     * 可退款金额
     */
    @TableField("numInputField113")
    private BigDecimal refundableAmount;

    /**
     * 本次退款金额
     */
    @TableField("numInputField114")
    private BigDecimal currentRefundAmount;

    /**
     * 发票金额合计
     */
    @TableField("numInputField116")
    private BigDecimal totalInvoiceAmount;

    /**
     * 申请人
     */
    @TableField("userSelectField175")
    private String applicant;

    /**
     * 退款日期
     */
    @TableField("dateField176")
    private LocalDateTime refundDate;

    /**
     * 附件
     */
    @TableField("uploadFzField178")
    private String attachment;
}